home *** CD-ROM | disk | FTP | other *** search
/ Aminet 8 / Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso / Aminet / dev / gcc / gcc270_src.lha / gcc-2.7.0-amiga / config / i386 / xm-os2.h < prev    next >
C/C++ Source or Header  |  1995-06-15  |  2KB  |  58 lines

  1. /* Configuration for GNU compiler
  2.    for an Intel i386 or later processor running OS/2 2.x.
  3.    Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc.
  4.    Contributed by Samuel Figueroa (figueroa@cs.nyu.edu)
  5.  
  6. This file is part of GNU CC.
  7.  
  8. GNU CC is free software; you can redistribute it and/or modify
  9. it under the terms of the GNU General Public License as published by
  10. the Free Software Foundation; either version 2, or (at your option)
  11. any later version.
  12.  
  13. GNU CC is distributed in the hope that it will be useful,
  14. but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16. GNU General Public License for more details.
  17.  
  18. You should have received a copy of the GNU General Public License
  19. along with GNU CC; see the file COPYING.  If not, write to
  20. the Free Software Foundation, 59 Temple Place - Suite 330,
  21. Boston, MA 02111-1307, USA.  */
  22.  
  23. #ifndef OS2
  24. #define OS2
  25. #endif
  26.  
  27. #ifdef __IBMC__
  28. #include <stdlib.h> /* this defines alloca */
  29. #define USG
  30. #define ONLY_INT_FIELDS
  31. #define HAVE_PUTENV
  32. #define USE_PROTOTYPES 1
  33. #define bcmp(a,b,c) memcmp (a,b,c)
  34. #define bcopy(a,b,c) memcpy (b,a,c)
  35. #define bzero(a,b) memset (a,0,b)
  36. #define index  strchr
  37. #define rindex strrchr
  38. #define strcasecmp stricmp
  39. #define kill(a,b) raise(b)
  40. #define mktemp tmpnam
  41. #else
  42. #define ____386BSD____
  43. int spawnv (int modeflag, char *path, char *argv[]);
  44. int spawnvp (int modeflag, char *path, char *argv[]);
  45. #endif /* __IBMC__ */
  46.  
  47. #ifndef PATH_SEPARATOR
  48. #define PATH_SEPARATOR ';'
  49. #endif
  50. #ifndef DIR_SEPARATOR
  51. #define DIR_SEPARATOR '\\'
  52. #endif
  53.  
  54. #define EXECUTABLE_SUFFIX ".exe"
  55. #define OBJECT_SUFFIX ".obj"
  56.  
  57. #include "i386/xm-i386.h"
  58.